
<form id="form_edit"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">流水号：</td>
		<td width="30%">#{[$result.id]}({[$result.oper_t]})</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>
		<td align="right">员工：</td>
		<td colspan="3"><input type="text" name="emp" id="emp" size="16" value="{[$result.emp]}:{[$result.emp_t]}" title="{[$t.emp_|emp:'员工']}"></td>
	</tr>
	<tr>
		<td align="right">分机：</td>
		<td><input type="text" name="exten" size="8" value="{[$result.exten]}"></td>
		<td align="right">呼转：</td>
		<td><input type="text" name="cf" id="cf" size="8" value="{[$result.cf]}"></td>
	</tr>
	<tr>
		<td align="right">有效时间：</td>
		<td colspan="3"><input type="text" name="t1" id="t1" size="8" value="{[$result.t1|date_format:'%H:%M']}"> 至 <input type="text"
			name="t2" id="t2" size="8" value="{[$result.t2|date_format:'%H:%M']}"></td>
	</tr>
	<tr>
		<td align="right">特殊电话：</td>
		<td colspan="3"><input type="checkbox" name="co_0" value="0"{[if $result.co & 1]}checked{[/if]}>同事 <input type="checkbox" name="co_1"
			value="1"{[if $result.co & 2]}checked{[/if]}>客户</td>
	</tr>
	<tr>
		<td align="right">本地电话：</td>
		<td colspan="3"><input type="checkbox" name="co_2" value="2"{[if $result.co & 4]}checked{[/if]}>固话 <input type="checkbox" name="co_3"
			value="3"{[if $result.co & 8]}checked{[/if]}>手机</td>
	</tr>
	<tr>
		<td align="right">国内长途：</td>
		<td colspan="3"><input type="checkbox" name="co_4" value="4"{[if $result.co & 16]}checked{[/if]}>固话 <input type="checkbox" name="co_5"
			value="5"{[if $result.co & 32]}checked{[/if]}>手机</td>
	</tr>
	<tr>
		<td align="right">国际长途：</td>
		<td colspan="3"><input type="checkbox" name="co_6" value="6"{[if $result.co & 64]}checked{[/if]}>网络电话 <input type="checkbox" name="co_7"
			value="7"{[if $result.co & 128]}checked{[/if]}>电信线路
			<input type="checkbox" name="chkall_co" value="9" onclick="chkbox_co(this.form)">全部</td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/emp/exten/add.js?r={[$smarty.now]}"></script>
